﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DTO;
using BLL;

namespace GUI.Home.UC
{
    public partial class UC_DanhMucSP : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            List<NhomSanPhamDTO> lst = new List<NhomSanPhamDTO>();
            NhomSanPhamBLL nspBLL = new NhomSanPhamBLL();
            lst = nspBLL.GetListNhomSanPham();
            DDLDanhMuc.DataSource = lst;
            DDLDanhMuc.DataBind();
        }
    }
}